﻿using System;

namespace WCFDojoRpc
{
    public class ClockService : IClockService
    {
        public string GetTime()
        {
            return DateTime.Now.ToString();
        }

        public string GetLocalTime(string cultureName)
        {
            return DateTime.Now.ToString(System.Globalization.CultureInfo.GetCultureInfo(cultureName));
        }
    }
}
